<?php 
include 'functions.php';
$array = array(
	'a'=>'A',
	'b'=>'B',
	'c'=>array(
		'd'=>'D',
		'e'=>array('f'=>'F')
	)
);
function changeCase($arr){
	$num = array_change_key_case($arr,CASE_UPPER);
	foreach ($num as $k => $v) {
		if(is_array($v)){
			$num[$k] = changeCase($v);
		}
	}
	return $num;
}
$newArr = changeCase($array);
echo p($newArr);
 ?>